tree-body problem